package com.tl.app.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tl.common.annotation.Excel;
import com.tl.common.core.domain.BaseEntity;

/**
 * 轮播对象 app_carousel
 * 
 * @author suhp
 * @date 2024-06-21
 */
public class AppCarousel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long carouselId;

    /** 外链地址 */
    @Excel(name = "外链地址")
    private String linkPath;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String imgPath;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Long orderNum;

    public void setCarouselId(Long carouselId) 
    {
        this.carouselId = carouselId;
    }

    public Long getCarouselId() 
    {
        return carouselId;
    }
    public void setLinkPath(String linkPath) 
    {
        this.linkPath = linkPath;
    }

    public String getLinkPath() 
    {
        return linkPath;
    }
    public void setImgPath(String imgPath) 
    {
        this.imgPath = imgPath;
    }

    public String getImgPath() 
    {
        return imgPath;
    }
    public void setOrderNum(Long orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() 
    {
        return orderNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carouselId", getCarouselId())
            .append("linkPath", getLinkPath())
            .append("imgPath", getImgPath())
            .append("orderNum", getOrderNum())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
